From: Eli Zaretskii Date: Mon, 11 Feb 2002 07:06:55 +0000 (+0000) Subject: Don't warn about "x-*" symbols when building a non-GUI version. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~58829 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=197a09bf1b79d4523d16a29737527fedefc63190;p=emacs.git Don't warn about "x-*" symbols when building a non-GUI version. --- diff --git a/lisp/cus-start.el b/lisp/cus-start.el index fd41f44fd1d..0275624842a 100644 --- a/lisp/cus-start.el +++ b/lisp/cus-start.el @@ -284,6 +284,8 @@ (eq system-type 'ms-dos)) ((string-match "\\`w32-" (symbol-name symbol)) (eq system-type 'windows-nt)) + ((string-match "\\`x-" (symbol-name symbol)) + (fboundp 'x-create-frame)) (t t)))) (if (not (boundp symbol)) ;; If variables are removed from C code, give an error here!